package com.demo.webService;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

/**
 * @ClassName: HelloWorldImpl
 * @Description:
 */

@WebService(endpointInterface = "com.demo.webService.HelloWorld")
//@SOAPBinding(style = Style.RPC)
public class HelloWorldImpl implements HelloWorld {

	/*
	 * <p>Title: sayHi</p> 
	 * <p>Description: 测试</p> 
	 * @param name
	 * @return 
	 * @see com.webService.HelloWorld#sayHi(java.lang.String) 
	 */ 
	@Override
	public String sayHi(String name) {
		System.out.println("============="+name);
		return "hello: "+name;
	}

}
